package com.cloud.common.context;

public class VersionContext {
    public static final String VERSION = "version";
    public static final String VERSION_INFO = "VersionInfo";

    private static final ThreadLocal<String> holder = new ThreadLocal();

    public static void set(String version) {
        holder.set(version);
    }

    public static String get() {
        return holder.get();
    }

    public static void remove() {
        holder.remove();
    }

}
